/*
 * @Author: Tim
 * @Date: 2020-08-10 19:26:51
 * @LastEditTime: 2020-08-14 11:58:04
 * @LastEditors: Please set LastEditors
 * @Description: 业务码 && 包含请求相关的参数 && 可以用继承的方式复写
 * @FilePath: /afire/src/services/serviceOption.js
 */
export default class ServiceOptions {
    ///成功的业务码
    static SUCCESS_CODE = '0';

    ///错误码：-1
    static ERROR_CODE_01 = '-1';

    ///错误码：-2
    static ERROR_CODE_02 = '-2';

    ///错误码：-3
    static ERROR_CODE_03 = '-3';

    ///签名skey
    static SIGN_KEY = "_AFIRE_SIGN_KEY_";

    ///token-key-name： 提交接口的token名
    static TOKEN_KEY = "_AFIRE_TOKEN_";

    ///token-ret-name： 返回token名
    static RET_TOKEN = "token";

    ///默认的序列化参数key名
    static SERIALIZE_PARAM_KEY = "param";

    ///session key存储会话token对应key
    static LOCAL_SESSION_KEY = "_AFIRE_SESSION_KEY_";

    ///server host
    /// you need to set `Domain` props when on extends this class.
    static DOMAIN = '';
}